package com.yykj.hospital.client.feign.fallback;

import com.yykj.common.enums.ResultEnums;
import com.yykj.common.exception.NormalException;
import com.yykj.common.vo.ResultVO;
import com.yykj.hospital.client.dto.HospitalDTO;
import com.yykj.hospital.client.feign.HospitalServerFeignClient;

/**
 * Created by chendg on 2021/9/10 0010.
 */
public abstract class HospitalServerFallback implements HospitalServerFeignClient {

	@Override
	public HospitalDTO info(Integer id) {
		throw new NormalException(ResultEnums.NOT_EXIST);
	}

}
